package org.example.entity;



import java.util.Date;
public class Patient {
    private int id ;
    private String country;
    private String province;
    private String patient_name;
    private String patient_type;
    private String patient_state;
    private Date sureTime;
    private Date hardTime;
    private Date cureTime;
    private Date dieTime;

    @Override
    public String toString() {
        return "Patient{" +
                "id=" + id +
                ", country='" + country + '\'' +
                ", province='" + province + '\'' +
                ", patient_name='" + patient_name + '\'' +
                ", patient_type='" + patient_type + '\'' +
                ", patient_state='" + patient_state + '\'' +
                ", sureTime=" + sureTime +
                ", hardTime=" + hardTime +
                ", cureTime=" + cureTime +
                ", dieTime="  + dieTime +
                '}';
    }

    public Patient(int id, String country, String province, String patient_name, String patient_type, String patient_state, Date sureTime, Date hardTime, Date cureTime, Date dieTime) {
        this.id = id;
        this.country = country;
        this.province = province;
        this.patient_name = patient_name;
        this.patient_type = patient_type;
        this.patient_state = patient_state;
        this.sureTime = sureTime;
        this.hardTime = hardTime;
        this.cureTime = cureTime;
        this.dieTime = dieTime;
    }

    public Patient() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getPatient_name() {
        return patient_name;
    }

    public void setPatient_name(String patient_name) {
        this.patient_name = patient_name;
    }

    public String getPatient_type() {
        return patient_type;
    }

    public void setPatient_type(String patient_type) {
        this.patient_type = patient_type;
    }

    public String getPatient_state() {
        return patient_state;
    }

    public void setPatient_state(String patient_state) {
        this.patient_state = patient_state;
    }

    public Date getSureTime() {
        return sureTime;
    }

    public void setSureTime(Date sureTime) {
        this.sureTime = sureTime;
    }

    public Date getHardTime() {
        return hardTime;
    }

    public void setHardTime(Date hardTime) {
        this.hardTime = hardTime;
    }

    public Date getCureTime() {
        return cureTime;
    }

    public void setCureTime(Date cureTime) {
        this.cureTime = cureTime;
    }

    public Date getDieTime() {
        return dieTime;
    }

    public void setDieTime(Date dieTime) {
        this.dieTime = dieTime;
    }
}
